<!DOCTYPE html>
<html lang="en">
<head>

    <meta charset="UTF-8">
    <script type="text/javascript" src="assets/jwplayer.min.js"></script>
    <link type="text/css" rel="stylesheet" href="assets/style.css" />
    <title>Empty TTML Head</title>

</head>
<body>

<h2>Empty TTML Head</h2>

<div id="player"></div>
<script type="text/javascript">
jwplayer("player").setup({
    debug: 'console',
    file: 'http://content.bitsontherun.com/videos/bkaovAYt-injeKYZS.mp4',
    height: 270,
    image: 'http://content.bitsontherun.com/thumbs/bkaovAYt-480.jpg',
    plugins: {
        '../captions.js': {
            file: 'assets/bunny-eng.xml'
        }
    },
    flashplayer: 'assets/player.swf',
    width: 480
});

</script>

<p>
    This player loads a TTML file with empty &lt;head&gt; element.<br/>
    The captions should still display.
</p>


</body>
</html>